set(LLVM_LINK_COMPONENTS
  Analysis
  AsmParser
  Core
  Support
  )

add_llvm_unittest(AnalysisTests
  AliasAnalysisTest.cpp
  BlockFrequencyInfoTest.cpp
  BranchProbabilityInfoTest.cpp
  CallGraphTest.cpp
  CFGTest.cpp
  CGSCCPassManagerTest.cpp
  GlobalsModRefTest.cpp
  LazyCallGraphTest.cpp
  LoopInfoTest.cpp
  MemoryBuiltinsTest.cpp
  MemorySSA.cpp
  OrderedBasicBlockTest.cpp
  ProfileSummaryInfoTest.cpp
  ScalarEvolutionTest.cpp
  TargetLibraryInfoTest.cpp
  TBAATest.cpp
  UnrollAnalyzer.cpp
  ValueTrackingTest.cpp
  )
